// ReSharper disable RedundantUsingDirective
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable InconsistentNaming
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable RedundantNameQualifier

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
//using DatabaseGeneratedOption = System.ComponentModel.DataAnnotations.DatabaseGeneratedOption;

namespace wUniApp.MVC.App_Data
{
    // Products
    public partial class Product
    {
        public int Id { get; set; } // Id (Primary key)
        public string Name { get; set; } // Name
        public string Description { get; set; } // Description
        public decimal MonthlyPrice { get; set; } // MonthlyPrice

        // Reverse navigation
        public virtual ICollection<Customer> Customers { get; set; } // Customers.FK_Customers_Products

        public Product()
        {
            Customers = new List<Customer>();
            InitializePartial();
        }
        partial void InitializePartial();
    }

}
